<h3><{t}>Вводный текст<{/t}></h3>

<div class="division tableform division-skin">

<textarea name="article[bodys][article_intro]" id="article-intro" rows=4 style="width:360px" class="inputstyle" cols=35 maxlength="255"/><{$article.bodys.article_intro}></textarea>

</div>

<h3><{t}>文章内容<{/t}></h3>
<div class="division tableform division-skin">
<{t}>选择文章页模板：<{/t}>
<{template_filter id='aEditor-Gtmplpath-input' type='article' name='article[bodys][tmpl_path]' selected=$article.bodys.tmpl_path class='x-input' }>

<textarea id="body-content" name="article[bodys][content]" class="textarea-auto">
	<{$article.bodys.content}>
</textarea>
</div>


<!--codemirror-->
<link rel="stylesheet" href="/public/app/desktop/statics/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="/public/app/desktop/statics/codemirror/addon/hint/show-hint.css">
<link rel="stylesheet" href="/public/app/desktop/statics/codemirror/theme/eclipse.css">
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/lib/codemirror.js"></script>
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/addon/hint/show-hint.js"></script>
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/addon/hint/xml-hint.js"></script>
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/addon/hint/html-hint.js"></script>
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/addon/selection/active-line.js"></script>
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/addon/edit/matchbrackets.js"></script>
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/mode/xml/xml.js"></script>
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/mode/javascript/javascript.js"></script>
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/mode/css/css.js"></script>
<script type="text/javascript" src="/public/app/desktop/statics/codemirror/mode/htmlmixed/htmlmixed.js"></script>

	<script type="text/javascript">
	/*var myCodeMirror = CodeMirror.fromTextArea(document.getElementById('body-content'), {
	  lineNumbers: true,               // показывать номера строк
	  styleActiveLine: true,		   //подсветка активной строки
	  matchBrackets: true,             // подсвечивать парные скобки
	  indentUnit: 4,                   // размер табуляции
	 // theme: "eclipse",				   //тема
	  lineWrapping: true
	});
	var myCodeMirror = CodeMirror.fromTextArea(document.getElementById('article-intro'), {
	  lineNumbers: true,               // показывать номера строк
	  styleActiveLine: true,		   //подсветка активной строки
	  matchBrackets: true,             // подсвечивать парные скобки
	  indentUnit: 4,                   // размер табуляции
	 // theme: "eclipse",				   //тема
	  lineWrapping: true
	}); */
	</script>